package com.yuyou.tas.service.api.admin.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.yuyou.tas.service.api.admin.dto.OfficeTokenDTO;
import com.yuyou.tas.util.bean.ResBoolSimpleInfo;





@FeignClient(value = "tas-admin-service")
@RequestMapping(value = "/officeTokenAPI")
public interface OfficeTokenAPI {
	
	@RequestMapping(value = "/edit")
	ResBoolSimpleInfo<OfficeTokenDTO> editNoCheck(@RequestParam("resourceId") String resourceId)throws Exception;

	@RequestMapping(value = "/hasResourcePer")
	ResBoolSimpleInfo<String> hasResourcePer(@RequestParam("organId")Long organId, @RequestParam("type")Integer type);
	

	
}
